(Asshuara’) 26 : 29
قَالَ لَئِنِ اتَّخَذْتَ إِلَٰهًا غَيْرِي لَأَجْعَلَنَّكَ مِنَ الْمَسْجُونِينَ

He said: "If you take a deity other than me, I will surely place you among those imprisoned."

It is told in verse 79: 24: “Arrogant Pharoah claimed that he is the lord”. But here he is claiming that he is the only deity. See explanation 20: 14 and 25: 68.